package com.gusti.mensajes.dto;

/**
 * 
 * @author gusti
 *
 */
public class ConversationDto {

	private String userName;
	private String lastMessage;
	private int messages;
	private int unreadMessages;
	private long conversationId;
	
	public ConversationDto(){
		
	}
	
	/**
	 * 
	 * @param userName
	 * @param lastMessage
	 * @param messages
	 * @param unreadMessages
	 * @param conversationId
	 */
	public ConversationDto( String userName, String lastMessage, int messages, int unreadMessages, long conversationId ){
		this.userName = userName;
		this.messages = messages;
		this.unreadMessages = unreadMessages;
		this.conversationId = conversationId;
	}
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getLastMessage() {
		return lastMessage;
	}
	public void setLastMessage(String lastMessage) {
		this.lastMessage = lastMessage;
	}
	public int getMessages() {
		return messages;
	}
	public void setMessages(int messages) {
		this.messages = messages;
	}
	public int getUnreadMessages() {
		return unreadMessages;
	}
	public void setUnreadMessages(int unreadMessages) {
		this.unreadMessages = unreadMessages;
	}
	public long getConversationId() {
		return conversationId;
	}
	public void setConversationId(long conversationId) {
		this.conversationId = conversationId;
	}
}
